.k-repository {
  background: #fff;
  margin: 0 15px;

  .z-row {
    border-bottom: 1px solid #eee;
    padding: 16px 0 8px 10px;
    margin-bottom: 6px;

    .h3 {
      font-size: 18px;
      border: 0;
      height: 34px;
      line-height: 34px;
      font-weight: 500;
    }
  }

  .guide {
    height: 10px;
    border: solid 1px #fff;

    &.draghover {
      background: #f0f0f0;
      border: dotted #ddd 1px;
    }
  }

  .doc-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    color: #666;
    font-weight: 200;
    text-align: center;
    line-height: 12px;
  }

  .doc-floder {
    color: #777;

    &:before {
      content: "\e882";
    }

    &.lap:before {
      content: "\e87e";
    }
  }

  .chapter-list {
    margin-right: 12px;
  }

  .group {
    cursor: move;

    .group {
      padding-left: 14px;
      background: url("") no-repeat -2px -2px;
      margin-left: 12px;
      border-left: 1px dotted #ddd;
    }
  }

  .sortable-ghost {
    .item {
      background: #f0f0f0;
      border: dotted #ddd 1px;

      .header, .info {
        background: #f0f0f0;
      }
    }
  }

  .item {
    line-height: 24px;
    border: solid 1px #fff;
    position: relative;

    &:hover {
      hr {
        border-color: $link;
      }
    }
  }

  .header {
    display: inline-block;
    position: relative;
    background: #fff;
    //padding-right: 8px;
    padding: 0 8px;
    cursor: pointer;
  }

  .tip {
    display: inline-block;
    position: relative;

    .why {
      color: #f80e15;
    }

    &:hover .do {
      display: block;
    }
  }

  .do {
    @extend %shadow;
    display: none;
    position: absolute;
    width: 140px;
    z-index: 3;
    background: #fff;
    left: 0;
    top: 0;

    div {
      background: #f2f2f2;
      padding: 5px 12px;
      color: #999;
    }

    span {
      display: block;
      padding: 5px 12px;

      &:hover {
        background: $primary;
        color: #fff;
      }
    }
  }

  .title {
    display: inline-block;
    border-bottom: 1px solid transparent;
    cursor: pointer;

    &:hover {
      border-bottom-color: $primary;
    }
  }

  .info {
    position: absolute;
    background: #fff;
    padding-left: 12px;
    color: #666;
    right: 0;
    top: 0;

    .icon {
      cursor: pointer;
      display: inline-block;
      font-size: 13px;
    }
  }

  .empty {
    text-align: center;
    margin: 30px;
    color: #666;
  }

  hr {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 12px;
    right: 0;
    left: 20px;
    height: 2px;
    border-width: 0 0 1px 0;
    border-bottom: dashed 1px #eee;
  }
}

.k-repository-set {
  .user {
    width: 80px;
    height: 26px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-right: .6rem;

    &:hover {
      .ft {
        display: block;
      }
    }

    .ft {
      position: absolute;
      display: none;
      top: 0;
      right: 0;
    }
  }

}